package com.pg.agent.engine.client.component;

import com.pg.agent.engine.client.model.agent.AIAgent;

/**
 * 输出提示提词
 *
 * @author huhuaping
 * @date 2023/11/6 10:33
 */
public class OutputComponent extends PromptComponent {
    private String output;

    public OutputComponent(String output) {
        super();
        this.output = output;
    }

    @Override
    public String getPrompt(AIAgent agent) {
        return String.format("请把内容放到标签中<%s> and </%s>输出, 请不要随意输出，严格按照上述格式输出!\n", output, output);
    }
}
